package com.lyc.demo01;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/10/25 18:12
 * @description：
 * @modified By：
 * @version:
 */
public class Text {
    public static void main(String[] args) {
        Point<Integer> p1=new Point<>(66,88);
        Integer x = p1.getX();
        Integer y = p1.getY();
        System.out.println(p1);


        Point<String> p2=new Point<>("东京苍井空","南京梁朝伟");
        String y1 = p2.getY();
        String x1 = p2.getX();
        System.out.println(p2);
    }
}